package func;

import java.util.ArrayList;

public class MiscFuncs implements FunctionGroup<Double> {
	public ArrayList<Function<Double>> createFunctionGroup() {
		ArrayList<Function<Double>> f = new ArrayList<Function<Double>>();
		
		f.add(new Function<Double>() {
			public Double applyFunction(Double[] param) {
				return Math.sqrt(param[0]);
			}
			public String description() {
				return "sqrt";
			}
			public int paramCount() {
				return 1;
			}
			
		});
		
		return f;
	}
	public String description() {
		return "miscdouble";
	}

}
